package com.cpi.cornpp.costelement.dto;


public class CostElementDTO {
	/** Column name shortname */
	public static final String SHORT_NAME = "short_name";
	/** Column name description */
	public static final String DESCRIPTION = "description";
	/**Cost Element ID*/
	private int costElementID;
	/**Cost Element Code*/
	private String costElementCode;
	/**Cost Element Description*/
	private String costElementDescription;
	/**Cost Element Type Id*/
	private int typeId;
	/**
	 * @param costElementCode the costElementCode to set
	 */
	public void setCostElementCode(String costElementCode) {
		this.costElementCode = costElementCode;
	}
	/**
	 * @return the costElementCode
	 */
	public String getCostElementCode() {
		return costElementCode;
	}
	/**
	 * @param costElementDescription the costElementDescription to set
	 */
	public void setCostElementDescription(String costElementDescription) {
		this.costElementDescription = costElementDescription;
	}
	/**
	 * @return the costElementDescription
	 */
	public String getCostElementDescription() {
		return costElementDescription;
	}
	/**
	 * @param costElementID the costElementID to set
	 */
	public void setCostElementID(int costElementID) {
		this.costElementID = costElementID;
	}
	/**
	 * @return the costElementID
	 */
	public int getCostElementID() {
		return costElementID;
	}
	public void setTypeId(int typeId) {
		this.typeId = typeId;
	}
	public int getTypeId() {
		return typeId;
	}
	public boolean equals(Object obj) {
		if(!(obj instanceof CostElementDTO))
			return false;
		CostElementDTO object = (CostElementDTO)obj;
		return object.getCostElementID() == this.getCostElementID();		
	}
}
